package com.mentaleye.dal.dao;

import com.mentaleye.dal.model.Dormitorys;

import java.util.List;
import java.util.Map;

public interface DormitoryDao {

	public boolean insertDormitory(Dormitorys dormitory);
	
	public boolean modifyDormitory(Dormitorys dormitory);
	
	public boolean deleteDormitory(List<Integer> dorId);
	
	public List<Dormitorys> queryAllDormitory();
	
	public List<Dormitorys> queryDormitory(Map<String, Object> map);
	
	public Dormitorys queryDormitoryById(Integer dorId);
	/**
	 */
	public List<Dormitorys> queryDormitoryWithRest();
	
}
